package cn.edu.zut.hkxy.mapper;

import cn.edu.zut.hkxy.pojo.Cpc;
import cn.edu.zut.hkxy.pojo.CpcExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CpcMapper {
    long countByExample(CpcExample example);

    int deleteByExample(CpcExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Cpc record);

    int insertSelective(Cpc record);

    List<Cpc> selectByExample(CpcExample example);

    Cpc selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Cpc record, @Param("example") CpcExample example);

    int updateByExample(@Param("record") Cpc record, @Param("example") CpcExample example);

    int updateByPrimaryKeySelective(Cpc record);

    int updateByPrimaryKey(Cpc record);
}